/* map-component.wxss */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.search-box {
    width: 750rpx;
    padding: 20rpx;
    position: relative;
    background: rgba(255, 255, 255, .5);
    backdrop-filter: blur(4rpx);
    padding: 24rpx;
    box-sizing: border-box;


    .wrap {
        display: flex;
        border: rgba(0, 0, 0, .2) 2rpx solid;
        border-radius: 33rpx;
        box-sizing: border-box;
        position: relative;
        padding-right: 140rpx;

        .input {
            height: 66rpx;
            padding: 0 20rpx;
            border-radius: 33rpx;
            flex-grow: 1;
            font-size: 24rpx;
            background: rgba(255, 255, 255, .5);
        }

        .button {
            width: 140rpx;
            flex-shrink: 0;
            text-align: center;
            line-height: 70rpx;
            height: 70rpx;
            font-size: 24rpx;
            background: #5795ff;
            color: #fff;
            border-radius: 33rpx;
            position: absolute;
            right: -2rpx;
            top: -2rpx;
        }

    }
}

.address {
    padding: 40rpx 24rpx;
    font-size: 28rpx;
}

.buttonList {
    display: flex;
    width: 100%;
    gap: 40rpx;
    padding: 0 40rpx 24rpx 40rpx;
    box-sizing: border-box;

    .button {
        flex-grow: 1;
        text-align: center;
        border: #e0e0e0 1px solid;
        height: 66rpx;
        line-height: 66rpx;
        color: #666;
        border-radius: 10rpx;

        &.confirm {
            color: #5795ff;
            border-color: #5795ff;
        }
    }
}

.searchResult {
    position: absolute;
    width: 100%;
    left: 0;
    top: 110rpx;
    background: rgba(255, 255, 255, .75);
    border-bottom: rgba(0, 0, 0, .2) 1px solid;
    backdrop-filter: blur(4rpx);
    z-index: 999;
    color: #000;

    .list {
        height: 600rpx;

        .item {
            padding: 10rpx 24rpx;
            border-top: rgba(0, 0, 0, .1) 1px solid;
            .title {
                font-size: 26rpx;
            }

            .location {
                font-size: 24rpx;
                text-align: right;
                color: rgba(0, 0, 0, .6);
            }
        }
    }
}